import request from '@/utils/request'

// 查询对账记录列表
export function listDzLog(query) {
  return request({
    url: '/wms/dzLog/list',
    method: 'get',
    params: query
  })
}

// 查询对账记录详细
export function getDzLog(id) {
  return request({
    url: '/wms/dzLog/' + id,
    method: 'get'
  })
}

// 新增对账记录
export function addDzLog(data) {
  return request({
    url: '/wms/dzLog',
    method: 'post',
    data: data
  })
}

// 修改对账记录
export function updateDzLog(data) {
  return request({
    url: '/wms/dzLog',
    method: 'put',
    data: data
  })
}

// 删除对账记录
export function delDzLog(id) {
  return request({
    url: '/wms/dzLog/' + id,
    method: 'delete'
  })
}
